package cn.stu.cms.mapper;


import cn.stu.cms.pojo.Employees;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * (Employees)表数据库访问层
 *
 * @author makejava
 * @since 2023-07-21 15:22:32
 */
@Mapper
public interface EmployeesMapper extends BaseMapper<Employees> {
    /**
     * 获取列表
     *
     * @return {@link Object}
     */
    @Select("select employee_id,name from employees where del_flag='0'")
    List<Employees> getList();


}

